package com.klikmee.sms.core.commons.queues;

/**
 * This component processes {@link QueueItem} objects.
 * Usually queue managers will delegate processing logic to queue item processors.
 * @author makcro
 *
 * @param <T>
 */
public interface QueueItemProcessor<T> {
	
	/**
	 * Processes queue item.
	 * @param item item to process
	 * @return true if item was successfully processed, false otherwise
	 */
	public boolean process(QueueItem<T> item);
	
}
